adejs/controllers/auth/urls.js

17 lines
873 B
JavaScript
Raw Normal View History

2017-09-23 11:39:42 +02:00
const url = require('create-url').url;
module.exports = [
2017-09-24 01:29:08 +02:00
url('/login/', 'login', 'login'),
url('/logout/', 'logout', 'logout'),
url('/login-target/', 'loginTarget', 'loginTarget', 'POST'),
url('/signup/', 'signup', 'signup'),
url('/signup-target/', 'signupTarget', 'signupTarget', 'POST'),
url('/mail-was-sent/', 'mailWasSent', 'mailWasSent'),
2017-09-29 14:35:13 +02:00
url('/reset-password-mail-was-sent/', 'resetPasswordMailWasSent', 'resetPasswordMailWasSent'),
2017-09-23 18:20:56 +02:00
url('/activate/:activationKey', 'activate', 'activate'),
2017-09-29 14:35:13 +02:00
url('/password-forgotten', 'passwordForgotten', 'passwordForgotten'),
url('/password-forgotten-target', 'passwordForgottenTarget', 'passwordForgottenTarget', 'POST'),
url('/reset-password/:activationKey', 'resetPassword', 'resetPassword'),
url('/reset-password-target', 'resetPasswordTarget', 'resetPasswordTarget', 'POST'),
2017-09-23 11:39:42 +02:00
]