mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
A message is now displayed to the user when he first sign in in Authelia letting him know that a device must be enrolled. Also introduce a message letting him know when he is already authenticated.
6 lines
203 B
TypeScript
6 lines
203 B
TypeScript
import { getUserPreferences } from "../services/UserPreferences";
|
|
import { useRemoteCall } from "./RemoteCall";
|
|
|
|
export function useUserPreferences() {
|
|
return useRemoteCall(getUserPreferences, []);
|
|
} |