Fix magic_link view data
This commit is contained in:
parent
309344d1c0
commit
384bd2fc17
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "wms-core",
|
"name": "wms-core",
|
||||||
"version": "0.4.30",
|
"version": "0.4.31",
|
||||||
"description": "Node web framework",
|
"description": "Node web framework",
|
||||||
"repository": "git@gitlab.com:ArisuOngaku/wms-core.git",
|
"repository": "git@gitlab.com:ArisuOngaku/wms-core.git",
|
||||||
"author": "Alice Gaudon <alice@gaudon.pro>",
|
"author": "Alice Gaudon <alice@gaudon.pro>",
|
||||||
|
@ -101,8 +101,7 @@ export default abstract class MagicLinkController extends Controller {
|
|||||||
}
|
}
|
||||||
|
|
||||||
res.render('magic_link', {
|
res.render('magic_link', {
|
||||||
actionType: await magicLink?.getActionType(),
|
magicLink: magicLink,
|
||||||
actionMessage: await magicLink?.getActionMessage(),
|
|
||||||
err: err,
|
err: err,
|
||||||
success: success && err === null,
|
success: success && err === null,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user