fix(admin): bind token form to dotted scope to escape ng-if child scope

The Generate button silently no-op'd because ng-model="newTokenName" inside
an ng-if block wrote to a child scope, leaving $scope.newTokenName empty.
Use $scope.tokenForm.{name,plaintext} so prototypal lookup resolves to the
controller scope.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
tdurieux
2026-05-03 19:40:28 +02:00
parent 9f1ae1924b
commit e18961208a
3 changed files with 11 additions and 11 deletions
+2 -1
View File
File diff suppressed because one or more lines are too long