mirror of
https://github.com/umami-software/umami.git
synced 2026-02-21 13:05:36 +01:00
Add session_data / session redis to CH.
This commit is contained in:
parent
8937602f57
commit
2e0d1697e7
21 changed files with 328 additions and 282 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { NextApiRequestQueryBody, Roles, User } from 'lib/types';
|
||||
import { NextApiRequestQueryBody, Role, User } from 'lib/types';
|
||||
import { canDeleteUser, canUpdateUser, canViewUser } from 'lib/auth';
|
||||
import { useAuth } from 'lib/middleware';
|
||||
import { NextApiResponse } from 'next';
|
||||
|
|
@ -12,7 +12,7 @@ export interface UserRequestQuery {
|
|||
export interface UserRequestBody {
|
||||
username: string;
|
||||
password: string;
|
||||
role: Roles;
|
||||
role: Role;
|
||||
}
|
||||
|
||||
export default async (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue