<% DEFAULT p = [ { type = "startword" num = 4 word = "Cheese" value = "Chee" }, { type = "number" value = "37" }, { type = "endword" num = 3 word = "Chocolate" value = "ate" }, ] pass = "Chee37ate" %> <% title = "Select a password" %> <% extra_stylesheets = [ "activate" ] %> <% floating = BLOCK %>

For best security, choose a password that is hard to guess but easy for you to remember. <% UNLESS user.regpassword %> <% INCLUDE el/back.tt back = "/briefcase.pl" %> <% END %> <% END %> <% body = BLOCK %>

<% INCLUDE lib/img.tt pic = "h1/newpasswd" %>

<% IF user.regpassword %> The temporary password that you just logged in with should be changed. <% ELSE %> You may elect to change your account password on this screen. <% END %> You can either choose a password yourself, or accept the password displayed below. The password is case sensitive.
Use a randomly generated password (regenerate):
<% c = 0 %> <% FOR part = p %> <% IF c %>
then <% END %> <% c = c + 1 %> "<% part.value %>" - <% IF part.type == "startword" %> the first <% part.num %> letters of the word "<% part.word %>" <% ELSIF part.type == "endword" %> the last <% part.num %> letters of the word "<% part.word %>" <% ELSIF part.type == "word" %> the whole word "<% part.word %>" <% ELSIF part.type == "number" %> the number <% part.value %> <% END %> <% END %>
<% pass %>
Choose your own password:

<% IF badpasswd %>

Password must be at least 6 characters in length and consist of at least one letter and one number.

<% END %>
   

You will be asked to re-enter your password on the next page. <% END %>