[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Inf-IT DAVcl] Caldavzap/mate auth using basic_auth


Hi Ján,

Am 05.05.2014 09:07, schrieb Ján Máté:

> 2.) change the source code and perform the request to the auth module without 
> requiring click to the "Login" button. The reason why there is no such option is that
> I really hate it, because of the stupid implementation of the basic auth by browsers
> (there is no way to logout without browser restart)

Good idea, that worked:

<main.js>
function loadConfig()
{
	if(isUserLogged)// !!!!!! kedy moze toto nastat? nexapem ...
		return false;
+
+	netLoadConfiguration(globalNetworkAccountSettings);
+	return true;

	var configLoaded=true;
	// Automatically detect crossDomain settings
</main.js>

You're right, not being able to log out is an annoying missing feature
of browsers. But I never log out anywhere anyway, so this will work out
fine. ;)

Thanks for your help!

cheers
Dariush

Attachment: signature.asc
Description: OpenPGP digital signature


References:
[Inf-IT DAVcl] Caldavzap/mate auth using basic_authDariush Forouher <dariush@xxxxxxxxxxx>
Re: [Inf-IT DAVcl] Caldavzap/mate auth using basic_authJán Máté <jan.mate@xxxxxxxxxx>
Re: [Inf-IT DAVcl] Caldavzap/mate auth using basic_authDariush Forouher <dariush@xxxxxxxxxxx>
Re: [Inf-IT DAVcl] Caldavzap/mate auth using basic_authJán Máté <jan.mate@xxxxxxxxxx>