diff --git a/models/site.rb b/models/site.rb
index 711f1da8..4571dbe1 100644
--- a/models/site.rb
+++ b/models/site.rb
@@ -74,11 +74,9 @@ class Site < Sequel::Model
# Check for existing user
- if new?
- user = self.class.select(:username).filter(username: values[:username]).first
- if !user.nil? && (user.id != values[:id])
- errors.add :username, 'This username is already taken. Try using another one.'
- end
+ user = self.class.select(:username).filter(username: values[:username]).first
+ if !user.nil? && (user.id != values[:id])
+ errors.add :username, 'This username is already taken. Try using another one.'
end
if values[:password].nil? || (@password_length && @password_length < MINIMUM_PASSWORD_LENGTH)
diff --git a/views/index.slim b/views/index.slim
index 60d767c0..a8a72ee3 100644
--- a/views/index.slim
+++ b/views/index.slim
@@ -14,7 +14,7 @@
td Anything you want! It's just HTML. It's your site, your vision. You can make it as normal or crazy as you want. You're the artist, you're in control. Make a site about you, or make it about cats that play Dungeons and Dragons, or make a Daft Punk Fan Site, or a Daft Punk Sucks Site.
tr
td: b What information can I put on it?
- td Anything you wan't, as long as it's not illegal to host it in the United States (note to government: stuff that is actually illegal, not just stuff that embarrasses you or reveals your unconstitutional (and hence illegal) spying programs). We don't care if it offends somebody, or you remain anonymous.
+ td Anything you want, as long as it's not illegal to host it in the United States (note to government: stuff that is actually illegal, not just stuff that embarrasses you or reveals your unconstitutional (and hence illegal) spying programs). We don't care if it offends somebody, or you remain anonymous.
tr
td: b Do I own my content?
td Yes, you do. It's yours. We're just giving you a place to host it.
@@ -23,7 +23,7 @@
td 10 Megabytes. You can have HTML, Images, Text, CSS, Markdown, and JavaScript. That's it.
tr
td: b How are you paying for this?
- td Hopefully with donations. If you feel this is a useful service, help us pay the bills to run it. Click here to contribute!
+ td With donations. It's not that expensive. If you feel this is a useful service, click here to contribute!
.row
.span5.offset1
@@ -33,4 +33,4 @@
h5 Returning users: Sign In
.row
.span6.offset3
- h4 style="line-height: 22pt" There are #{Server.first.slots_available} web site spaces remaining.
After that, we need your help to get another server.
HELP NEOCITIES PROSPER
\ No newline at end of file
+ h4 style="line-height: 22pt" There are #{Server.first.slots_available} web site spaces remaining.
After that, we need your help to get another server.
HELP NEOCITIES PROSPER