<div dir="ltr">That is the correct workflow - can you check the lightdm.log to confirm that the authentication did work?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 27 December 2012 10:15, David Edmundson <span dir="ltr"><<a href="mailto:david@davidedmundson.co.uk" target="_blank">david@davidedmundson.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sort of related to my previous email, I have a problem with logging in<br>
user's where no password is required to log in, such as those in the<br>
nopasswd group.<br>
<br>
My code reads (in pseudocode):<br>
<br>
greeer.authenticateUser("foo");<br>
onPrompt() {<br>
greeer.respond(..);<br>
}<br>
onAuthenticationComplete() {<br>
if (greeter.authenticated) {<br>
greeter.startSessionSync<br>
} else {<br>
showError()<br>
}<br>
}<br>
<br>
In the case where no password is required, the backend goes straight<br>
from authenticateUser to the onAuthenticationComplete callback,<br>
however greeter.authenticated is false so my login fails. How is the<br>
workflow meant to go?<br>
<span class="HOEnZb"><font color="#888888"><br>
David Edmundson<br>
_______________________________________________<br>
LightDM mailing list<br>
<a href="mailto:LightDM@lists.freedesktop.org">LightDM@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/lightdm" target="_blank">http://lists.freedesktop.org/mailman/listinfo/lightdm</a><br>
</font></span></blockquote></div><br></div>