You are viewing limited content. For full access, please sign in.

Question

Question

disable auto login for forms 9.2

asked on July 9, 2015

is it possible to have Forms 9.2 to always show the login screen rather than auto login users?

0 0

Answer

SELECTED ANSWER
replied on August 17, 2015 Show version history

The file is correct, but not the highlighted text.

Find the following:

				<span class="checkbox" style="margin-left:20px">
					<label for="RememberMe">
						@Html.CheckBoxFor(m => m.RememberMe, new { @checked = "checked" })
					@Resources.STR_LOGIN_REMEMBER_ME
				</label>
			</span>

And change it to:

				<span class="checkbox hidden" style="margin-left:20px">
					<label for="RememberMe">
						@Html.CheckBoxFor(m => m.RememberMe, new {  })
					@Resources.STR_LOGIN_REMEMBER_ME
				</label>
			</span>

Then restart IIS.

1 0

Replies

replied on July 13, 2015

For the "always show the login screen", do you mean showing login page when user closes and then opens a new browser? 

In this case, you can choose to disable "Remember me" when login.

And by modifying the login page you can make the option not checked by default and hidden.

0 0
replied on August 17, 2015

Rui,

 

Is this the file where I set the desired option to disable Remember me when logging in?

 

 

and do I delete the highlighted text?

0 0
SELECTED ANSWER
replied on August 17, 2015 Show version history

The file is correct, but not the highlighted text.

Find the following:

				<span class="checkbox" style="margin-left:20px">
					<label for="RememberMe">
						@Html.CheckBoxFor(m => m.RememberMe, new { @checked = "checked" })
					@Resources.STR_LOGIN_REMEMBER_ME
				</label>
			</span>

And change it to:

				<span class="checkbox hidden" style="margin-left:20px">
					<label for="RememberMe">
						@Html.CheckBoxFor(m => m.RememberMe, new {  })
					@Resources.STR_LOGIN_REMEMBER_ME
				</label>
			</span>

Then restart IIS.

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.