Fix Impersonation Refresh Bug (#5679)
Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
1 parent
2a6dc340df
commit
93a14b190e
3 files changed
+14
-21
No files matched your search
@@ -16,9 +16,7 @@ function AdminView() {
|
||||
onSubmit={(e) => {
|
||||
e.preventDefault();
|
||||
const enteredUsername = usernameRef.current?.value.toLowerCase();
|
||||
signIn("impersonation-auth", { username: enteredUsername }).then((res) => {
|
||||
console.log(res);
|
||||
});
|
||||
signIn("impersonation-auth", { username: enteredUsername });
|
||||
}}>
|
||||
<div className="flex items-center space-x-2">
|
||||
<TextField
|
||||
|
||||
Reference in new issue
Block a user