mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 07:24:45 +02:00
Replace hard coded url
This commit is contained in:
parent
259599b441
commit
2c98693bd2
@ -167,7 +167,7 @@ class EditProfile extends \Filament\Pages\Auth\EditProfile
|
|||||||
->columnSpanFull(),
|
->columnSpanFull(),
|
||||||
])->headerActions([
|
])->headerActions([
|
||||||
Action::make('Create')
|
Action::make('Create')
|
||||||
->successRedirectUrl('/panel/profile?tab=-api-keys-tab')
|
->successRedirectUrl(route('filament.admin.auth.profile', ['tab' => '-api-keys-tab']))
|
||||||
->action(function (Get $get, Action $action) {
|
->action(function (Get $get, Action $action) {
|
||||||
$token = auth()->user()->createToken(
|
$token = auth()->user()->createToken(
|
||||||
$get('description'),
|
$get('description'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user