There are two assertions currently in **test_create_account_require_email**.
After each assertion, we could just put a simple check confirming the existence 
of a 'user' project.


~~~~~
::python
    def test_create_account_require_email(self):
    
            #...
            
            assert not user.pending
            assert_equal(M.Project.query.find({'name': 'u/aaa'}).count(), 1)

            #...
            
            assert user.pending
            # Pending users should not have a user project
            assert_equal(M.Project.query.find({'name': 'u/bbb'}).count(), 0)

~~~~~


---

** [tickets:#8013] New Users should not be displayed in /u/wiki/home until 
email is verified **

**Status:** in-progress
**Milestone:** unreleased
**Created:** Fri Oct 30, 2015 06:05 PM UTC by Heith Seewald
**Last Updated:** Tue Dec 15, 2015 05:04 PM UTC
**Owner:** nobody


Right now new users are displayed in '/u/wiki/home' before email validation.  
The link for that user will just 404 until email is verified.  

This shouldn't apply if `auth.require_email_addr` is set to false in the ini.


---

Sent from forge-allura.apache.org because [email protected] is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

Reply via email to