mirror of
https://github.com/Dadoum/anisette-v3-server.git
synced 2024-11-24 11:56:08 +00:00
Compare commits
No commits in common. "a808d2977c1e986d809c2e2ac1648c3a38a8420c" and "53d52033134b4d07801f3df111dce15a33c56336" have entirely different histories.
a808d2977c
...
53d5203313
@ -420,13 +420,13 @@ class AnisetteService {
|
|||||||
|
|
||||||
adi.endProvisioning(session, Base64.decode(ptm), Base64.decode(tk));
|
adi.endProvisioning(session, Base64.decode(ptm), Base64.decode(tk));
|
||||||
|
|
||||||
auto adiPath = adi.provisioningPath().buildPath("adi.pb");
|
|
||||||
file.setAttributes(adiPath, 384); // 0600 = rw for owner
|
|
||||||
|
|
||||||
response = [
|
response = [
|
||||||
"result": "ProvisioningSuccess",
|
"result": "ProvisioningSuccess",
|
||||||
"adi_pb": Base64.encode(
|
"adi_pb": Base64.encode(
|
||||||
cast(ubyte[]) file.read(adiPath)
|
cast(ubyte[]) file.read(
|
||||||
|
adi.provisioningPath()
|
||||||
|
.buildPath("adi.pb")
|
||||||
|
)
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
|
Loading…
Reference in New Issue
Block a user