We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
callback: Function
1 parent 9d4bcbd commit 7ed2585Copy full SHA for 7ed2585
app/templates/client/components/auth(auth)/auth.service.js
@@ -20,7 +20,7 @@ function AuthService($location, $http, $cookies, $q, appConfig, Util, User) {
20
* @param {Function} callback - optional, function(error, user)
21
* @return {Promise}
22
*/
23
- login({email, password}, callback) {
+ login({email, password}, callback: Function) {
24
return $http.post('/auth/local', {
25
email: email,
26
password: password
0 commit comments