mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
display post-install human readable route name
This commit is contained in:
parent
d655e679d9
commit
a8d8272edf
1 changed files with 5 additions and 1 deletions
|
@ -118,7 +118,11 @@ export default {
|
|||
|
||||
performPostInstall (force = false) {
|
||||
// FIXME does the api will throw an error for bad passwords ?
|
||||
api.post('postinstall' + (force ? '?force_diskspace' : ''), { domain: this.domain, password: this.password }).then(data => {
|
||||
api.post(
|
||||
'postinstall' + (force ? '?force_diskspace' : ''),
|
||||
{ domain: this.domain, password: this.password },
|
||||
{ key: 'postinstall' }
|
||||
).then(() => {
|
||||
// Display success message and allow the user to login
|
||||
this.goToStep('login')
|
||||
}).catch(err => {
|
||||
|
|
Loading…
Reference in a new issue