(domainId: string, redirect: string = '')
| 54 | |
| 55 | @param('redirect', Types.String, true) |
| 56 | async get(domainId: string, redirect: string = '') { |
| 57 | this.response.template = 'user_login.html'; |
| 58 | this.response.body = { |
| 59 | redirect, |
| 60 | builtInLogin: system.get('server.login'), |
| 61 | loginMethods: this.loginMethods, |
| 62 | }; |
| 63 | } |
| 64 | |
| 65 | @param('uname', Types.Username) |
| 66 | @param('password', Types.Password) |