display post-install human readable route name

This commit is contained in:
axolotle 2021-05-01 13:00:00 +02:00
parent d655e679d9
commit a8d8272edf

View file

@ -118,7 +118,11 @@ export default {
performPostInstall (force = false) { performPostInstall (force = false) {
// FIXME does the api will throw an error for bad passwords ? // 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 // Display success message and allow the user to login
this.goToStep('login') this.goToStep('login')
}).catch(err => { }).catch(err => {