mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 13:55:01 +02:00
Fix back-end paths called by Vue front-end
This commit is contained in:
@ -31,7 +31,7 @@
|
||||
|
||||
async generatePAToken() {
|
||||
|
||||
const { data } = await this.form.post('/api/v1/oauth/personal-access-tokens')
|
||||
const { data } = await this.form.post('/oauth/personal-access-tokens')
|
||||
|
||||
if( this.form.errors.any() === false ) {
|
||||
this.$router.push({ name: 'settings.oauth', params: { accessToken: data.accessToken, token_id: data.token.id } });
|
||||
|
Reference in New Issue
Block a user