mirror of
https://gitlab.com/comunic/comunicconsole
synced 2025-07-06 18:12:50 +00:00
Can send requests to server
This commit is contained in:
@ -21,6 +21,7 @@ import {
|
||||
|
||||
import LockOutlinedIcon from "@material-ui/icons/LockOutlined";
|
||||
import React from "react";
|
||||
import { AccountHelper } from "../../helpers/AccountHelper";
|
||||
import { matAlert } from "../widgets/DialogsProvider";
|
||||
|
||||
function Copyright() {
|
||||
@ -63,7 +64,9 @@ export class LoginRoute extends React.Component<{}, LoginRouteState> {
|
||||
|
||||
if (!this.canSubmit) return;
|
||||
|
||||
matAlert("good");
|
||||
AccountHelper.getAuthOptions(this.state.currEmail).then((r) =>
|
||||
matAlert("reset token => " + r.reset_token)
|
||||
);
|
||||
}
|
||||
|
||||
render() {
|
||||
@ -97,7 +100,7 @@ export class LoginRoute extends React.Component<{}, LoginRouteState> {
|
||||
<Typography
|
||||
component="h1"
|
||||
variant="h5"
|
||||
style={{ margin: "10px" }}
|
||||
style={{ margin: "10px", marginBottom: "50px" }}
|
||||
>
|
||||
Comunic Console
|
||||
</Typography>
|
||||
|
Reference in New Issue
Block a user