Login Prüfung wurde umgebaut

This commit is contained in:
ja
2021-09-27 15:34:12 +02:00
parent ebc3e35856
commit a959ff1c93
3 changed files with 32 additions and 22 deletions

View File

@@ -145,23 +145,18 @@
<script>
function bust1() {
if (top != self) {
var s1 = getElementById("#CustomerID").val()
var s2 = getElementById("#UserName").val()
var s2 = getElementById("#Password").val()
sessionStorage.setItem("usrnm", s1)
sessionStorage.setItem("psw", s2)
sessionStorage.setItem("Kdnnr", s3)
window.top.postMessage(getElementById("#CustomerID").val(),'*')
window.top.postMessage(getElementById("#UserName").val(), '*')
window.top.postMessage(getElementById("#Password").val(), '*')
top.location.replace('../Customers/Welcome.aspx');
}
}
function bust2() {
if (top != self) {
var s1 = getElementById("#CustomerID").val()
var s2 = getElementById("#UserName").val()
var s2 = getElementById("#Password").val()
sessionStorage.setItem("usrnm", s1)
sessionStorage.setItem("psw", s2)
sessionStorage.setItem("Kdnnr", s3)
window.top.postMessage(getElementById("#CustomerID").val(), '*')
window.top.postMessage(getElementById("#UserName").val(), '*')
window.top.postMessage(getElementById("#Password").val(), '*')
top.location.replace('../admin/admin.aspx');
}
}