diff --git a/source/pages/invitation_create/logic.ts b/source/pages/invitation_create/logic.ts index 7206797..1675a69 100644 --- a/source/pages/invitation_create/logic.ts +++ b/source/pages/invitation_create/logic.ts @@ -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 diff --git a/source/pages/invitation_handle/logic.ts b/source/pages/invitation_handle/logic.ts index f8f5226..a48e677 100644 --- a/source/pages/invitation_handle/logic.ts +++ b/source/pages/invitation_handle/logic.ts @@ -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 = []; diff --git a/source/pages/password_change_init/logic.ts b/source/pages/password_change_init/logic.ts index f9f580f..e2142c0 100644 --- a/source/pages/password_change_init/logic.ts +++ b/source/pages/password_change_init/logic.ts @@ -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( () => { diff --git a/source/resources/backend.ts b/source/resources/backend.ts index 1998cfe..0c0582e 100644 --- a/source/resources/backend.ts +++ b/source/resources/backend.ts @@ -392,8 +392,7 @@ namespace _espe.backend /** */ export async function member_password_change_initialize( - identifier : string, - url_template : string + identifier : string ) : Promise { 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, } }