Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 15 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | 'use strict' |
||
2 | |||
3 | import passport from 'passport' |
||
4 | import { passwords } from '../../controllers' |
||
5 | |||
6 | export default function (server) { |
||
7 | server.get({ |
||
8 | name: 'password//change', |
||
9 | path: '/change_password' |
||
10 | }, |
||
11 | passport.authenticate('jwtEmptyParamUrlQueryStrategy', { |
||
12 | session: false |
||
13 | }), |
||
14 | passwords.edit) |
||
15 | } |
||
16 |