Skip to content

Commit 6cc808e

Browse files
fix: resolve comments from pr
1 parent 2ca3601 commit 6cc808e

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

ui/app/actions/meta.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import axios from "axios";
2-
import { LOGIN_SUCCESS, login as _login, logout as _logout } from "redux-implicit-oauth2";
2+
import { LOGIN_SUCCESS, logout as _logout } from "redux-implicit-oauth2";
33

44
import { selectAuthToken } from "../selectors";
55
import types from ".";

ui/app/components/Message.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ class Message extends Component {
2121
return null;
2222
}
2323
return (
24-
<div className="banner" style={{ backgroundColor: "#ffcc00", color: "black", textAlign: "center", padding: "10px", position: "relative" }}>
25-
<p>We are aware that you are not being able to login , We are actively working on it and will provide fix soon</p>
26-
<button onClick={this.handleClose} style={{ position: "absolute", top: "5px", right: "10px", cursor: "pointer" }}>
27-
×
28-
</button>
29-
</div>
30-
);
24+
<div className="banner" style={{ backgroundColor: "#ffcc00", color: "black", textAlign: "center", padding: "10px", position: "relative" }}>
25+
<p>If you are experiencing issues logging in after our fixes, please logout and login again to resolve the issue.</p>
26+
<button onClick={this.handleClose} style={{ position: "absolute", top: "5px", right: "10px", cursor: "pointer" }}>
27+
×
28+
</button>
29+
</div>
30+
);
3131
}
3232
}
3333

ui/views.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ def authorized(request):
2424
# "logging out" of the UI just drops the auth token)
2525
auth_logout(request)
2626
return v3(request)
27-
# return render(request, "ui/authorized.html")
28-
2927

3028
def login(request):
3129
if not request.user.is_authenticated:

0 commit comments

Comments
 (0)