adejs/controllers/auth/urls.js

12 lines
427 B
JavaScript
Raw Normal View History

2017-09-23 11:39:42 +02:00
const url = require('create-url').url;
module.exports = [
url('/login', 'login', 'login'),
2017-09-23 18:20:56 +02:00
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'),
url('/activate/:activationKey', 'activate', 'activate'),
2017-09-23 11:39:42 +02:00
]