diff options
author | Young Gyu Park <younggyu@google.com> | 2018-02-01 15:30:24 +0900 |
---|---|---|
committer | Young Gyu Park <younggyu@google.com> | 2018-02-02 11:39:47 +0900 |
commit | fcdf128425d8f1134729845f6b32c2b29da8abfd (patch) | |
tree | a4832ec9c17db1991dda6bbf1677082727acea20 /src/main/webapp | |
parent | d9d87a7400dcdac48c3679110c254d7eba7512a0 (diff) | |
download | dashboard-fcdf128425d8f1134729845f6b32c2b29da8abfd.tar.gz |
google.com email check to redirect non googler to error page
Test: Tested with browser on GAE
Bug: 72781506
Change-Id: I4dc01249fc41e8b6a078302d5076deab9bb186eb
Diffstat (limited to 'src/main/webapp')
-rw-r--r-- | src/main/webapp/WEB-INF/jsp/auth_error.jsp | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/main/webapp/WEB-INF/jsp/auth_error.jsp b/src/main/webapp/WEB-INF/jsp/auth_error.jsp new file mode 100644 index 0000000..43bd9f3 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/auth_error.jsp @@ -0,0 +1,38 @@ +<%-- + ~ Copyright (c) 2018 Google Inc. All Rights Reserved. + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); you + ~ may not use this file except in compliance with the License. You may + ~ obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + ~ implied. See the License for the specific language governing + ~ permissions and limitations under the License. + --%> +<%@ page contentType='text/html;charset=UTF-8' language='java' %> +<%@ taglib prefix='fn' uri='http://java.sun.com/jsp/jstl/functions' %> +<%@ taglib prefix='c' uri='http://java.sun.com/jsp/jstl/core'%> + +<html> + <link rel='stylesheet' href='/css/dashboard_main.css'> + <%@ include file='header.jsp' %> + <body> + + <div class='container wide'> + + <div class="card-panel"> + <span class="red-text text-darken-2"> + <h3> Sorry! you got a wrong email account. </h3> + <br/> + You have to register an account to access dashboard. + </span> + </div> + + </div> + <%@ include file='footer.jsp' %> + </body> +</html> |