mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 08:37:13 +01:00
Feat/um 305 unique session ch (#2065)
* Add session_data / session redis to CH. * Add mysql migration.
This commit is contained in:
parent
1038a54fe4
commit
b484286523
23 changed files with 405 additions and 300 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