support github login
This commit is contained in:
@@ -108,9 +108,7 @@ class LoginPopupSelf extends Component {
|
||||
<div>
|
||||
<div className="thuhole-login-popup-shadow" />
|
||||
<div className="thuhole-login-popup">
|
||||
<p>
|
||||
<h3>直接邮箱登陆</h3>
|
||||
</p>
|
||||
<p>
|
||||
<input value={token_phrase} onChange={(event) => this.setState({token_phrase: event.target.value})} />
|
||||
</p>
|
||||
@@ -136,8 +134,14 @@ class LoginPopupSelf extends Component {
|
||||
</ol>
|
||||
</div>
|
||||
<br />
|
||||
<p>
|
||||
<h3>第三方认证登陆</h3>
|
||||
<p>
|
||||
<a href={window.BACKEND + "_login/gh"} target="_blank"
|
||||
referrerPolicy="origin"
|
||||
>
|
||||
<span className="icon icon-login" />
|
||||
GitHub
|
||||
</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href={window.BACKEND + "_login?p=cs"} target="_blank"
|
||||
|
||||
Reference in New Issue
Block a user