mirror of
https://github.com/wassname/talk.git
synced 2026-08-06 13:41:02 +08:00
Merge branch 'master' into events
This commit is contained in:
@@ -21,7 +21,7 @@ export const getReliability = reliabilityValue => {
|
||||
*/
|
||||
|
||||
export const isSuspended = user => {
|
||||
const suspensionUntil = get(user, 'status.suspension.until');
|
||||
const suspensionUntil = get(user, 'state.status.suspension.until');
|
||||
return user && suspensionUntil && new Date(suspensionUntil) > new Date();
|
||||
};
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<title>Email Verification</title>
|
||||
<link rel="stylesheet" href="https://code.getmdl.io/1.2.1/material.indigo-pink.min.css">
|
||||
<link rel="stylesheet" href="<%= BASE_PATH %>public/css/admin.css">
|
||||
<%- include partials/head %>
|
||||
<%- include ../partials/head %>
|
||||
</head>
|
||||
<body class="confirm-email-page">
|
||||
<div id="root">
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
<%- include partials/head %>
|
||||
<%- include ../partials/head %>
|
||||
</head>
|
||||
<body class="docs-page">
|
||||
<div id="root"></div>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<title>Password Reset</title>
|
||||
<link rel="stylesheet" href="https://code.getmdl.io/1.2.1/material.indigo-pink.min.css">
|
||||
<link rel="stylesheet" href="<%= BASE_PATH %>public/css/admin.css">
|
||||
<%- include partials/head %>
|
||||
<%- include ../partials/head %>
|
||||
</head>
|
||||
<body class="password-reset-page">
|
||||
<div id="root">
|
||||
|
||||
Reference in New Issue
Block a user