[mod] URL-Templates nicht länger ans Backend senden
This commit is contained in:
parent
0e04d8d88b
commit
3cb0fe64f2
|
|
@ -226,15 +226,7 @@ lib_plankton.zoo_page.register(
|
|||
const value = await get_value();
|
||||
const result : {id : int; key : string;} = await _espe.backend.invitation_create(
|
||||
value.data,
|
||||
value.send_immediatly,
|
||||
lib_plankton.zoo_page.encode(
|
||||
{
|
||||
"name": "invitation_handle",
|
||||
"parameters": {
|
||||
"key": "{{key}}",
|
||||
}
|
||||
}
|
||||
)
|
||||
value.send_immediatly
|
||||
);
|
||||
lib_plankton.zoo_page.set(
|
||||
false
|
||||
|
|
|
|||
|
|
@ -157,7 +157,10 @@ lib_plankton.zoo_page.register(
|
|||
group_data.order.map(
|
||||
group_id => group_id.toFixed(0)
|
||||
),
|
||||
group_id_encoded => group_data.pool.get(parseInt(group_id_encoded)).label
|
||||
group_id_encoded => group_data.pool.get(parseInt(group_id_encoded)).label,
|
||||
{
|
||||
"read_only": (! data.groups_changeable),
|
||||
}
|
||||
),
|
||||
(value_inner) => {
|
||||
const array : Array<int> = [];
|
||||
|
|
|
|||
|
|
@ -50,16 +50,7 @@ lib_plankton.zoo_page.register(
|
|||
const value = await get_value();
|
||||
(
|
||||
_espe.backend.member_password_change_initialize(
|
||||
value.identifier,
|
||||
lib_plankton.zoo_page.encode(
|
||||
{
|
||||
"name": "password_change_exec",
|
||||
"parameters": {
|
||||
"id": "{{id}}",
|
||||
"token": "{{token}}",
|
||||
}
|
||||
}
|
||||
)
|
||||
value.identifier
|
||||
)
|
||||
.then(
|
||||
() => {
|
||||
|
|
|
|||
|
|
@ -392,8 +392,7 @@ namespace _espe.backend
|
|||
/**
|
||||
*/
|
||||
export async function member_password_change_initialize(
|
||||
identifier : string,
|
||||
url_template : string
|
||||
identifier : string
|
||||
) : Promise<string>
|
||||
{
|
||||
return (
|
||||
|
|
@ -402,8 +401,7 @@ namespace _espe.backend
|
|||
"/member/password_change/initialize",
|
||||
{
|
||||
"data": {
|
||||
"identifier": identifier,
|
||||
"url_template": url_template,
|
||||
"identifier": identifier
|
||||
},
|
||||
}
|
||||
)
|
||||
|
|
@ -518,7 +516,6 @@ namespace _espe.backend
|
|||
expiry : (null | int);
|
||||
},
|
||||
send_immediatly : boolean,
|
||||
notification_target_url_template : (null | string)
|
||||
) : Promise<
|
||||
{
|
||||
id : int;
|
||||
|
|
@ -532,7 +529,6 @@ namespace _espe.backend
|
|||
{
|
||||
"data": {
|
||||
"data": data,
|
||||
"notification_target_url_template": notification_target_url_template,
|
||||
"send_immediatly": send_immediatly,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue