import React from "react";
import { BusyMessage } from "component/common";
import UserEmailNew from "component/userEmailNew";
import UserEmailVerify from "component/userEmailVerify";
import UserVerify from "component/userVerify";
export class Auth extends React.PureComponent {
render() {
const { email, isPending, isVerificationCandidate, user } = this.props;
if (isPending) {
return ;
} else if (user && !user.has_verified_email && !email) {
return ;
} else if (user && !user.has_verified_email) {
return ;
} else if (user && !user.is_identity_verified) {
return ;
} else {
return {__("No further steps.")};
}
}
}
export default Auth;