Merge pull request #1009 from glowing-bear/revert-1006-patch-1

Revert "Fix passing connection credentials in URL hash"
This commit is contained in:
Lorenz Hübschle-Schneider 2018-05-07 10:20:00 +02:00 committed by GitHub
commit 7471df0f2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -912,7 +912,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
$scope.init = function() { $scope.init = function() {
if (window.location.hash) { if (window.location.hash) {
var rawStr = atob(window.location.hash.substring(3)); var rawStr = atob(window.location.hash.substring(1));
window.location.hash = ""; window.location.hash = "";
var spl = rawStr.split(":"); var spl = rawStr.split(":");
var host = spl[0]; var host = spl[0];