Skip to content

Commit 30bd430

Browse files
committed
update login method to POST
1 parent eca3e23 commit 30bd430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ kidstuff.auth.module.provider('auth',function() {
3636

3737
auth.login = function(email, password, success, error) {
3838
$http({
39-
method: 'GET',
39+
method: 'POST',
4040
url: config.endPoint+'/tokens',
4141
params:{
4242
email: email,

0 commit comments

Comments
 (0)