mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-10-04 20:00:12 +00:00
API lib cleanup, 404 hosts WIP
This commit is contained in:
@@ -30,7 +30,7 @@ function AuthProvider({ children, tokenRefreshInterval = 5 * 60 * 1000 }: Props)
|
||||
};
|
||||
|
||||
const login = async (identity: string, secret: string) => {
|
||||
const response = await getToken({ payload: { identity, secret } });
|
||||
const response = await getToken(identity, secret);
|
||||
handleTokenUpdate(response);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user