Skip to content

Instantly share code, notes, and snippets.

@nickdunn
Forked from brendo/Members.md
Created January 11, 2011 14:51
Show Gist options
  • Save nickdunn/774505 to your computer and use it in GitHub Desktop.
Save nickdunn/774505 to your computer and use it in GitHub Desktop.

Member: Password (Required)

  • Extends FieldInput (Text Input)
  • SHA1
  • Has a salt
  • Can have minimum strength/length

Member: Username

  • Extends FieldInput (Text Input)
  • "Unique", "Unique and allow login using this and password" (select box)

Member: Email

  • Extends FieldInput (Text Input)
  • Email Regex
  • MD5 output
  • "Unique", "Unique and allow login using this and password" (select box)

Member: Role

  • Extends FieldSelect (Select Box)
  • Single select

Member: Timezone

  • Extends FieldSelect (Select Box)
  • Will output the timezone offsets +01:00 -> +23:00 in :30 increments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment