Let the user resend emails
This commit is contained in:
parent
739c69da22
commit
12a1ccd8cd
4 changed files with 1 additions and 6 deletions
|
@ -1,5 +1,3 @@
|
|||
import 'dart:developer';
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/widgets.dart';
|
||||
|
@ -55,7 +53,6 @@ class _EmailEntryPageState extends State<EmailEntryPage> {
|
|||
autocorrect: false,
|
||||
keyboardType: TextInputType.emailAddress,
|
||||
onChanged: (email) {
|
||||
log(email);
|
||||
setState(() {
|
||||
_email = email;
|
||||
});
|
||||
|
|
|
@ -174,7 +174,6 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {
|
|||
Navigator.of(context).push(
|
||||
MaterialPageRoute(
|
||||
builder: (BuildContext context) {
|
||||
// return OTTVerificationPage("hello@ente.io");
|
||||
return EmailEntryPage();
|
||||
},
|
||||
),
|
||||
|
|
|
@ -30,7 +30,7 @@ class _OTTVerificationPageState extends State<OTTVerificationPage> {
|
|||
Widget _getBody() {
|
||||
return SingleChildScrollView(
|
||||
child: Container(
|
||||
padding: EdgeInsets.fromLTRB(8, 64, 8, 8),
|
||||
padding: EdgeInsets.fromLTRB(8, 40, 8, 8),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
mainAxisSize: MainAxisSize.max,
|
||||
|
|
|
@ -127,7 +127,6 @@ class UserAuthenticator {
|
|||
}
|
||||
|
||||
void _saveConfiguration(String email, Response response) {
|
||||
_logger.info("Saving configuration " + response.data.toString());
|
||||
Configuration.instance.setEmail(email);
|
||||
Configuration.instance.setUserID(response.data["id"]);
|
||||
Configuration.instance.setToken(response.data["token"]);
|
||||
|
|
Loading…
Add table
Reference in a new issue