mirror of
https://github.com/coder/code-server.git
synced 2024-12-21 00:31:35 +03:00
be3e823608
git-subtree-dir: lib/vscode git-subtree-split: e5a624b788d92b8d34d1392e4c4d9789406efe8f
39 lines
1008 B
HTML
39 lines
1008 B
HTML
<!-- Copyright (C) Microsoft Corporation. All rights reserved. -->
|
|
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<title>Azure Account - Sign In</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="stylesheet" type="text/css" media="screen" href="auth.css" />
|
|
</head>
|
|
|
|
<body>
|
|
<a class="branding" href="https://code.visualstudio.com/">
|
|
Visual Studio Code
|
|
</a>
|
|
<div class="message-container">
|
|
<div class="message">
|
|
You are signed in now and can close this page.
|
|
</div>
|
|
<div class="error-message">
|
|
An error occurred while signing in:
|
|
<div class="error-text"></div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
var search = window.location.search;
|
|
var error = (/[?&^]error=([^&]+)/.exec(search) || [])[1];
|
|
if (error) {
|
|
document.querySelector('.error-text')
|
|
.textContent = decodeURIComponent(error);
|
|
document.querySelector('body')
|
|
.classList.add('error');
|
|
}
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|