Fixed typos.
This commit is contained in:
parent
01ad11215e
commit
1e7acd0cda
2 changed files with 6 additions and 6 deletions
|
@ -36,8 +36,8 @@ class Index extends App.ControllerContent
|
||||||
@navigate '#login'
|
@navigate '#login'
|
||||||
return
|
return
|
||||||
|
|
||||||
# check if auto wizzard is executed
|
# check if auto wizard is executed
|
||||||
if data.auto_wizzard == true
|
if data.auto_wizard == true
|
||||||
|
|
||||||
# login check / get session user
|
# login check / get session user
|
||||||
App.Auth.loginCheck()
|
App.Auth.loginCheck()
|
||||||
|
|
|
@ -35,17 +35,17 @@ curl http://localhost/api/v1/getting_started -v -u #{login}:#{password}
|
||||||
return if setup_done_response
|
return if setup_done_response
|
||||||
|
|
||||||
# check it auto wizard is already done
|
# check it auto wizard is already done
|
||||||
auto_wizzard_admin = AutoWizzard.setup
|
auto_wizard_admin = AutoWizard.setup
|
||||||
if auto_wizzard_admin
|
if auto_wizard_admin
|
||||||
|
|
||||||
# set current session user
|
# set current session user
|
||||||
current_user_set(auto_wizzard_admin)
|
current_user_set(auto_wizard_admin)
|
||||||
|
|
||||||
# set system init to done
|
# set system init to done
|
||||||
Setting.set( 'system_init_done', true )
|
Setting.set( 'system_init_done', true )
|
||||||
|
|
||||||
render :json => {
|
render :json => {
|
||||||
:auto_wizzard => true,
|
:auto_wizard => true,
|
||||||
:setup_done => setup_done,
|
:setup_done => setup_done,
|
||||||
:import_mode => Setting.get('import_mode'),
|
:import_mode => Setting.get('import_mode'),
|
||||||
:import_backend => Setting.get('import_backend'),
|
:import_backend => Setting.get('import_backend'),
|
||||||
|
|
Loading…
Reference in a new issue