Improved code style.
This commit is contained in:
parent
0683c0b1bd
commit
568add6fcd
1 changed files with 4 additions and 4 deletions
|
@ -3,10 +3,10 @@ class App.Auth
|
||||||
@login: (params) ->
|
@login: (params) ->
|
||||||
App.Log.notice 'Auth', 'login', params
|
App.Log.notice 'Auth', 'login', params
|
||||||
App.Ajax.request(
|
App.Ajax.request(
|
||||||
id: 'login',
|
id: 'login'
|
||||||
type: 'POST',
|
type: 'POST'
|
||||||
url: App.Config.get('api_path') + '/signin',
|
url: App.Config.get('api_path') + '/signin'
|
||||||
data: JSON.stringify(params.data),
|
data: JSON.stringify(params.data)
|
||||||
success: (data, status, xhr) =>
|
success: (data, status, xhr) =>
|
||||||
|
|
||||||
# set login (config, session, ...)
|
# set login (config, session, ...)
|
||||||
|
|
Loading…
Reference in a new issue